package com.zhuoyue.biz.core.api.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName: OdStructure
 * @Description:
 * @author wjming
 * @Date 2021-07-08 13:31
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "`tbl_od_structure`")
public class OdStructure implements Serializable {
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private Integer id;

    @TableField(value = "`od`")
    private Integer od;

    @TableField(value = "`sub`")
    private Integer sub;

    @TableField(value = "`name`")
    private String name;

    @TableField(value = "`datatype`")
    private String datatype;

    @TableField(value = "`bytenum`")
    private Integer bytenum;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_OD = "od";

    public static final String COL_SUB = "sub";

    public static final String COL_NAME = "name";

    public static final String COL_DATATYPE = "datatype";

    public static final String COL_BYTENUM = "bytenum";
}